package com.simen.connectandroid.constants;

/**
 * Created on 2021/10/30 16:36.
 *
 * @author Simen
 */
public class Constant {

    public static final int PORT = 5555;

    //ip地址的正则表达式
    public static final String REGULAR_IP_ADDRESS = "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$";

    //ip地址+端口的正则表达式
    public static final String REGULAR_IPWITHPORT_ADDRESS = "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\:([0-9]{1,5})$";

}
